#define _CRT_SECURE_NO_WARNINGS 1
//#include<stdio.h>
//#include<stddef.h>
//struct S1
//{
//	char c1;
//	int i;
//	char c2;
//};
//
//int main()
//{
//	printf("%zd\n", offsetof(struct S1, c1));
//	printf("%zd\n", offsetof(struct S1, i));
//	printf("%zd\n", offsetof(struct S1, c2));
//	return 0;
//}
#include<stdio.h>
struct S1
{
	int a : 2;
	int b : 5;
	int c : 10;
	int d : 3;




};
int main()
{
	struct S1 s = { 0 };
	s.a = 10;
	s.b = 12;
	s.c = 3;
	s.d = 4;


	return 0;
}